/**
 * output package name
 */
package com.kingdee.eas.custom.hr.attendance.report;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class AttendanceTypeEnum extends IntEnum
{
    public static final int VACATION_VALUE = 1;
    public static final int OVERTIME_VALUE = 2;
    public static final int SWAP_OVERTIME_VALUE = 3;
    public static final int PAYMENT_VALUE = 4;
    public static final int SPECIAL_OPT_VALUE = 5;
    public static final int SCHEDULE_VALUE = 0;

    public static final AttendanceTypeEnum VACATION = new AttendanceTypeEnum("VACATION", VACATION_VALUE);
    public static final AttendanceTypeEnum OVERTIME = new AttendanceTypeEnum("OVERTIME", OVERTIME_VALUE);
    public static final AttendanceTypeEnum SWAP_OVERTIME = new AttendanceTypeEnum("SWAP_OVERTIME", SWAP_OVERTIME_VALUE);
    public static final AttendanceTypeEnum PAYMENT = new AttendanceTypeEnum("PAYMENT", PAYMENT_VALUE);
    public static final AttendanceTypeEnum SPECIAL_OPT = new AttendanceTypeEnum("SPECIAL_OPT", SPECIAL_OPT_VALUE);
    public static final AttendanceTypeEnum SCHEDULE = new AttendanceTypeEnum("SCHEDULE", SCHEDULE_VALUE);

    /**
     * construct function
     * @param integer attendanceTypeEnum
     */
    private AttendanceTypeEnum(String name, int attendanceTypeEnum)
    {
        super(name, attendanceTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static AttendanceTypeEnum getEnum(String attendanceTypeEnum)
    {
        return (AttendanceTypeEnum)getEnum(AttendanceTypeEnum.class, attendanceTypeEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static AttendanceTypeEnum getEnum(int attendanceTypeEnum)
    {
        return (AttendanceTypeEnum)getEnum(AttendanceTypeEnum.class, attendanceTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(AttendanceTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(AttendanceTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(AttendanceTypeEnum.class);
    }
}